package com.lin.manager.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lin.manager.system.entity.SysRoleEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @作者: 林江
 * @创建时间: 2024-03-11 13:12:30
 * @功能:
 */
@Mapper
public interface SysRoleDao extends BaseMapper<SysRoleEntity> {
    void deleteByRoleId(Integer id);

    List<SysRoleEntity> findRoleByUserId(String userId);
}
